From 5736050b0c9878825a51b5b69f75811de62e1309 Mon Sep 17 00:00:00 2001
From: Pinapelz <yukais@pinapelz.com>
Date: Mon, 27 Nov 2023 02:07:30 -0800
Subject: make channel-card name link to channel

---
 src/pages/stats/[slug].tsx | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'src/pages/stats/[slug].tsx')

diff --git a/src/pages/stats/[slug].tsx b/src/pages/stats/[slug].tsx
index 6fe6460..fc3f8bf 100644
--- a/src/pages/stats/[slug].tsx
+++ b/src/pages/stats/[slug].tsx
@@ -5,8 +5,10 @@ import { ChannelCard } from "@/components/channel-card";
 import DataChart from "@/components/DataChart/DataChart";
 import Footer from "@/components/Footer/Footer";
 import Head from 'next/head'
+import { channel } from "diagnostics_channel";
 
 interface ChannelDataProp {
+  channel_id: string;
   channel_name: string;
   profile_pic: string;
   subscribers: number;
@@ -55,6 +57,7 @@ function Page({ chartData, channelData, sevenDayGraphData, slug }: { chartData:
       <div className="flex justify-center">
         <div className="flex flex-col items-center">
             <ChannelCard
+              channel_id={channelData.channel_id}
               name={channelData.channel_name}
               avatarUrl={channelData.profile_pic}
               subscriberCount={channelData.subscribers}
-- 
cgit v1.2.3

